package com.gy.yemall.yemallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gy.common.utils.PageUtils;
import com.gy.yemall.yemallproduct.entity.AttrGroupEntity;
import com.gy.yemall.yemallproduct.entity.vo.AttrGroupAndAttrVo;
import com.gy.yemall.yemallproduct.entity.vo.AttrGroupRelationVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author ye
 * @email 2900801226@qq.com
 * @date 2021-09-30 16:28:53
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageBycatId(Map<String, Object> params, Integer catId);

    PageUtils getNoRelation(Long attrgroupId, Map<String, Object> params);

    void deleteRelation(AttrGroupRelationVo[] attrGroupRelationVo);

    List<AttrGroupAndAttrVo> queryAttrGroupAndAttr(Long catelogId);
}

